package com.demo.rocketmq.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author cyj
 */
@Data
@Accessors(chain = true)
public class User implements Serializable {

    public User() {}

    public User(String userName) {
        this.userName = userName;
    }

    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    private static final long serialVersionUID = 1L;
}